<html>
	<head>
			{if ($base)}
		<base href="{$base}">
		{/if}
		<link href="includes/themes/{$theme}/style.css" type="text/css" rel="stylesheet">
		<link href="includes/themes/{$theme}/add.css" type="text/css" rel="stylesheet">
		<title>
					{$name}
		</title>
	</head>
	<body>
	<div id="page">
		<div id="header">
			<h1><a href="./">
					{$name}
				</a></h1>
				<p id="blog_description">Photo Gallery</p>
		</div>
		<div id="content">
		<div class="post">
		<h2><img src="includes/themes/milk/images/album.png"> {$curalbum}</h2>
		{if ($Upurl)}
		<div class="Album"><a alt="Album" href="{$upurl}">Up</a></div>
 		{/if}
		{foreach from=$albums item=album}
		<div class="Album"><a alt="Album" href="{$album[0]}">{$album[1]}</a></div>
		{/foreach}
		{foreach from=$pictures item=picture}
		<div class="image"><a alt="Album" href="{$picture[0]}">{$picture[1]}</a></div>
		{/foreach}
		</div>
        </div>
        <div id="sidebar">
        <ul>
        <li class="pagenav">
        	<h2>Photo Gallery</h2>
        	<ul>
        	<li class="page_item">
        		<a href="./">Home</a>
        	</li>
        	</ul>
            <h2>{$curalbum}</h2>
        <ul>
        {if ($Upurl)}
        <li><a alt="Album" href="{$Upurl}">Up</a></li>
 		{/if}
 		{foreach from=$albums item=album}
		<li><a alt="Album" href="{$album[0]}">{$album[1]}</a></li>
		{/foreach}       	
        </li>
        </ul>
        </div>
      
		<div id="footer">  <br/>Powered by 
		<br/><a href="{$url}">{$linkname}</a> and theme ported from wordpress Milk by Michael Wheeler.
		</div>
	</div>
	</body>
</html>
